import React from 'react';
import ReactDOM from 'react-dom';
import 'common/prototypeExtend' // 引入原型扩展函数
import './index.less';
import App from './Router';
import registerServiceWorker from './registerServiceWorker';
import { createStore } from 'redux'
import { Provider } from 'react-redux'
import reducers from 'cec-redux/redux'

// store
const store = createStore(reducers)

ReactDOM.render(
  <Provider store={store}>
    <App/>
  </Provider>
  , document.getElementById('root'));
registerServiceWorker();
